//
//  PaymentRecordHeader.m
//  CenturyCity
//
//  Created by beisheng03 on 2018/1/3.
//  Copyright © 2018年 beisheng. All rights reserved.
//

#import "PaymentRecordHeader.h"

@interface PaymentRecordHeader ()
@property (weak, nonatomic) IBOutlet UILabel *topLabel;

@property (weak, nonatomic) IBOutlet UIView *bgView;
@end

@implementation PaymentRecordHeader

- (void)awakeFromNib{
    [super awakeFromNib];
    self.bgView.backgroundColor = viewBgGrey;
    
    self.topLabel.font = MYFONT(16);
    
}


- (void)setDataStr:(NSString *)dataStr{
    _dataStr = dataStr;
    
    self.topLabel.text = _dataStr;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
